<?php

declare(strict_types=1);

use Webman\Route;

// 获取验证码
Route::get('/code', [app\controller\CodeController::class, 'get']);

// 验证码校验
Route::post('/code', [app\controller\CodeController::class, 'verify']);

// OCR识别
Route::post('/code/ocr', [app\controller\CodeController::class, 'ocr']);